﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200115B RID: 4443
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetGameplayBirthdayScRsp : IMessage<SetGameplayBirthdayScRsp>, IMessage, IEquatable<SetGameplayBirthdayScRsp>, IDeepCloneable<SetGameplayBirthdayScRsp>, IBufferMessage
	{
		// Token: 0x1700383B RID: 14395
		// (get) Token: 0x0600C6D7 RID: 50903 RVA: 0x002188F4 File Offset: 0x00216AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetGameplayBirthdayScRsp> Parser
		{
			get
			{
				return SetGameplayBirthdayScRsp._parser;
			}
		}

		// Token: 0x1700383C RID: 14396
		// (get) Token: 0x0600C6D8 RID: 50904 RVA: 0x002188FB File Offset: 0x00216AFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetGameplayBirthdayScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700383D RID: 14397
		// (get) Token: 0x0600C6D9 RID: 50905 RVA: 0x0021890D File Offset: 0x00216B0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetGameplayBirthdayScRsp.Descriptor;
			}
		}

		// Token: 0x0600C6DA RID: 50906 RVA: 0x00218914 File Offset: 0x00216B14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetGameplayBirthdayScRsp()
		{
		}

		// Token: 0x0600C6DB RID: 50907 RVA: 0x0021891C File Offset: 0x00216B1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetGameplayBirthdayScRsp(SetGameplayBirthdayScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.birthday_ = other.birthday_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C6DC RID: 50908 RVA: 0x0021894D File Offset: 0x00216B4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetGameplayBirthdayScRsp Clone()
		{
			return new SetGameplayBirthdayScRsp(this);
		}

		// Token: 0x1700383E RID: 14398
		// (get) Token: 0x0600C6DD RID: 50909 RVA: 0x00218955 File Offset: 0x00216B55
		// (set) Token: 0x0600C6DE RID: 50910 RVA: 0x0021895D File Offset: 0x00216B5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700383F RID: 14399
		// (get) Token: 0x0600C6DF RID: 50911 RVA: 0x00218966 File Offset: 0x00216B66
		// (set) Token: 0x0600C6E0 RID: 50912 RVA: 0x0021896E File Offset: 0x00216B6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Birthday
		{
			get
			{
				return this.birthday_;
			}
			set
			{
				this.birthday_ = value;
			}
		}

		// Token: 0x0600C6E1 RID: 50913 RVA: 0x00218977 File Offset: 0x00216B77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetGameplayBirthdayScRsp);
		}

		// Token: 0x0600C6E2 RID: 50914 RVA: 0x00218985 File Offset: 0x00216B85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetGameplayBirthdayScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.Birthday == other.Birthday && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C6E3 RID: 50915 RVA: 0x002189C4 File Offset: 0x00216BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Birthday != 0U)
			{
				num ^= this.Birthday.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C6E4 RID: 50916 RVA: 0x00218A1C File Offset: 0x00216C1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C6E5 RID: 50917 RVA: 0x00218A24 File Offset: 0x00216C24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C6E6 RID: 50918 RVA: 0x00218A30 File Offset: 0x00216C30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.Birthday != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Birthday);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C6E7 RID: 50919 RVA: 0x00218A88 File Offset: 0x00216C88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Birthday != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Birthday);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C6E8 RID: 50920 RVA: 0x00218AE0 File Offset: 0x00216CE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetGameplayBirthdayScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Birthday != 0U)
			{
				this.Birthday = other.Birthday;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C6E9 RID: 50921 RVA: 0x00218B30 File Offset: 0x00216D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C6EA RID: 50922 RVA: 0x00218B3C File Offset: 0x00216D3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Birthday = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004FF8 RID: 20472
		private static readonly MessageParser<SetGameplayBirthdayScRsp> _parser = new MessageParser<SetGameplayBirthdayScRsp>(() => new SetGameplayBirthdayScRsp());

		// Token: 0x04004FF9 RID: 20473
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FFA RID: 20474
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04004FFB RID: 20475
		private uint retcode_;

		// Token: 0x04004FFC RID: 20476
		public const int BirthdayFieldNumber = 14;

		// Token: 0x04004FFD RID: 20477
		private uint birthday_;
	}
}
